export class GamePropData {
    
    public id: number;
    public _nameKey: string;
    /** 图集名称*/
    public atlasName: string;
    /** 图片名称*/
    public spriteName: string;
    /** 物体路径（渲染3D的才有）*/
    public renderPath: string;
    /** 是否可获得*/
    public isCanGet: boolean;
    /** 道具类型 1-游戏内道具  2-收集物*/
    public propType: number;
    /** 对应物品id (如收集物自己的id)*/
    public itemId: number;
    /** 是否展示3D信息*/
    public isShow3D: boolean;

    public constructor(obj: string) {
        this.id = obj['id'];
        this._nameKey = obj['_nameKey'];
        this.atlasName = obj['atlasName'];
        this.spriteName = obj['spriteName'];
        this.renderPath = obj['renderPath'];
        this.isCanGet = obj['isCanGet'];
        this.propType = obj['propType'];
        this.itemId = obj['itemId'];
        this.isShow3D = obj['isShow3D'];
    }
}